package com.sc.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class RepairPageDTO {
    @ApiModelProperty(value = "页码", example = "1")
    private int page;

    @ApiModelProperty(value = "页面大小", example = "2")
    private int pageSize;

    @ApiModelProperty(value = "住户类型", example = "户主")
    private String userType;

    @ApiModelProperty(value = "报修状态", example = "2")
    private Integer status;

    @ApiModelProperty(value = "预约开始日期", example = "2024-12-02")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate appointStart;

    @ApiModelProperty(value = "预约结束日期", example = "2024-12-02")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate appointEnd;

    @ApiModelProperty(value = "手机号", example = "13111111111111")
    private String phone;

    @ApiModelProperty(value = "住户名", example = "张三")
    private String person;

    @ApiModelProperty(value = "身份证号", example = "4320222222222222222")
    private String IDNum;

}
